const path = require('path')

module.exports = {
    mode: 'development',

    devtool: false,

    entry: './src/index.js',

    output: {
        path: path.join(__dirname, 'dist'),
        filename: 'app.bundle.js'
    },

    optimization: {
        // 开启作用域提升
        concatenateModules: true
    }
}